<?php 


class Product_Widgets_FeaturedProducts_Widget extends Tomato_Widget 
{
	protected function _prepareShow() 
	{
            
            $productModel = Rabbit_Model_Factory::getInstance()->setModule('product')->getProductModel();
            $featuredProducts = $productModel->getFeatured(array('limit' => 30));
            $this->_view->assign('featuredProducts', $featuredProducts);
	}
}
